package com.cuijq.ms.flyweight.v2;

/**
 * @author by CuiJQ
 * @Classname ChessPieceUnit
 * @Description ChessPieceUnit Description
 * @Date 2021/5/26 23:58
 */
public class ChessPieceUnit {

  private int id;
  private String text;
  private Color color;

  public ChessPieceUnit(int id, String text, Color color) {
    this.id = id;
    this.text = text;
    this.color = color;
  }

  public static enum Color {RED, BLACK}
}
